<?php ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="description" content=""/>
    <meta name="keywords" content=""/>
    <meta name="viewport" content="width=device-width">
    <!-- CSS Part Start-->
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/stylesheet.css"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/slideshow.css" media="screen"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/flexslider.css" media="screen"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/colorbox/colorbox.css" media="screen"/>
    <link rel="stylesheet" type="text/css"
          href="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/css/carousel.css" media="screen"/>
    <!-- CSS Part End-->

    <!-- Google Fonts (Droid Sans) Start -->
    <link href='http://fonts.googleapis.com/css?family=Droid+Sans&amp;v1' rel='stylesheet' type='text/css'>
    <!-- Google Fonts (Droid Sans) End -->
    <title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>


<div class="wrapper-box">
    <div class="main-wrapper">
        <!--Header Part Start-->
        <header id="header">
            <div class="htop">
                <div id="language"><span><?php echo (Yii::app()->language == 'en') ? Yii::t("messages", "English") : Yii::t("messages", "Vietnamese") ?><b></b></span>
                    <ul>
                        <li><?php echo CHtml::link('<img src="' . Yii::app()->request->baseUrl . '/assets/theme_a/image/flags/gb.png" alt="' . Yii::t("messages", "English") . '" title="' . Yii::t("messages", "English") . '" />' .Yii::t("messages", "English"), '', array('data-lang'=>'en', "class"=>(Yii::app()->language == 'en') ? "active" : "")); ?></li>
                        <li><?php echo CHtml::link('<img src="' . Yii::app()->request->baseUrl . '/assets/theme_a/image/flags/vn.png" alt="' . Yii::t("messages", "Vietnamese") . '" title="' . Yii::t("messages", "Vietnamese") . '" />' .Yii::t("messages", "Vietnamese"), '', array('data-lang'=>'vi', "class"=>(Yii::app()->language == 'vi') ? "active" : "")); ?></li>
                    </ul>
                </div>
            </div>
            <section class="hsecond">
                <div id="logo"><?php echo CHtml::link('<img src="' . Yii::app()->request->baseUrl . '/assets/theme_a/image/logo.png" alt="' . $this->pageTitle . '" title="' . $this->pageTitle . '" />', array('/site/index')); ?></div>
                <div id="search">
                    <div class="button-search"></div>
                    <input type="text" name="search" placeholder="Search" value=""/>
                </div>
                <!--Mini Shopping Cart Start-->
                <section id="cart">
                    <div class="content">
                    </div>
                </section>
                <!--Mini Shopping Cart End-->
                <div class="clear"></div>
            </section>
            <nav id="menu">
                <ul>
                    <li class="home"><?php echo CHtml::link('<span>Home</span>', array('/site/index'), array('title' => 'Home')); ?></li>
                    <li class="categories_hor"><a><?php echo Yii::t("messages", "Categories") ?></a>
                        <?php
                            $this->widget('application.extensions.Menu.QMenu',
                                array(
                                    'htmlOptions' => array('class'=> "categories_hor"),
                                    'childOptions' => array('class'=> "column"),
                                )
                            );
                        ?>
                    </li>
                    <li><?php echo CHtml::link("<span>". Yii::t('messages','About Us') . "</span>", array('/'.Yii::t("messages","about")), array('title' =>  Yii::t('messages','About Us'))) ?></li>
                    <li><?php echo CHtml::link("<span>". Yii::t('messages','News') . "</span>", array('/'.Yii::t("messages","news")), array('title' => Yii::t('messages','News'))) ?></li>
                    <li><?php echo CHtml::link("<span>". Yii::t('messages','Contact Us') . "</span>", array('/'.Yii::t("messages","contact")), array('title' => Yii::t('messages','Contact Us'))) ?></li>
                </ul>
            </nav>
            <!--Top Menu(Vertical Categories) End-->
            <!-- Mobile Menu Start-->
            <nav id="menu" class="m-menu"><span><?php echo Yii::t("messages", "Menu")?></span>
                <ul>
                    <li class="categories"><a><?php echo Yii::t("messages", "Categories")?></a>
                        <?php
                        $this->widget('application.extensions.Menu.QMenu',
                            array(
                                'htmlOptions' => array('class'=> "categories_hor"),
                                'childOptions' => array('class'=> "column"),
                            )
                        );
                        ?>
                    </li>
                </ul>
            </nav>
            <!-- Mobile Menu End-->
        </header>
        <!--Header Part End-->
        <div id="container">
            <?php echo $content ?>
            <div class="clear"></div>
        </div>
    </div>
    <!--Footer Part Start-->
    <footer id="footer">
        <div class="fpart-inner">
            <div class="social-part">

                <!-- Twitter Feeds Part End-->
                <!-- Facebook Box Part Start-->
                <div id="facebook" >
                    <h3>Join us on Facebook</h3>
                    <div class="line"></div>
                    <div id="fb-root"></div>
                    <script>(function(d, s, id) {
                            var js, fjs = d.getElementsByTagName(s)[0];
                            if (d.getElementById(id)) return;
                            js = d.createElement(s); js.id = id;
                            js.src = "http://connect.facebook.net/en_US/all.js#xfbml=1";
                            fjs.parentNode.insertBefore(js, fjs);
                        }(document, 'script', 'facebook-jssdk'));</script>
                    <div class="fb-like-box" data-href="http://www.facebook.com/524420274302926" data-show-border='false' data-width="100%" data-show-faces="true" data-stream="false" data-header="false" data-colorscheme="dark" data-connections="15" data-color-scheme="dark" data-border-color="#222222"></div>
                </div>
                <!-- Facebook Box Part End-->
            </div>
            <div class="column part3">
                <h3><?php echo Yii::t("messages", "Information") ?></h3>
                <ul>
                    <li><?php echo CHtml::link(Yii::t('messages','About Us'), array('/site/about'), array('title' => 'About Us')) ?></li>
                </ul>
            </div>
            <div class="column part3">
                <h3><?php echo Yii::t("messages", "Customer Service") ?> </h3>
                <ul>
                    <li><?php echo CHtml::link(Yii::t('messages','Contact Us'), array('/site/contact'), array('title' => 'Contact Us')) ?></li>
                    <li><?php echo CHtml::link(Yii::t('messages','Site map'), array('/site/about'), array('title' => 'Site map')) ?></li>
                </ul>
            </div>
            <!-- Contact Details Start-->
            <div class="contact contact_icon part3">
                <h3><?php echo Yii::t("messages", "Contact Us") ?></h3>
                <ul>
                    <li class="address"><?php echo $this->contact->ADDRESS ?></li>
                    <li class="mobile"><?php echo $this->contact->PHONE ?></li>
                    <li class="email"><?php echo CHtml::link($this->contact->EMAIL) ?> </li>
                </ul>
            </div>
            <!-- Contact Details End-->
            <div class="clear"></div>
            <div id="powered">
                <!-- Payment Images Icon Start-->
                <div class="payments_types part3">

                </div>
                <!-- Payment Images Icon End-->
                <!-- Powered by Text Start-->
                <div class="powered_text part3">
                    <p><?php echo Yii::app()->name ?> © 2014<br />
                        Copyright By <a target="_blank" href="#"><?php echo Yii::app()->name ?></a></p>
                </div>
                <!-- Powered by Text End-->
                <!-- Follow Social Icons Start-->
                <div class="social part3"><a href="http://facebook.com/harnishdesign" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/facebook.png"
                            alt="Facebook" title="Facebook"></a>  <a href="#" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/googleplus.png"
                            alt="Google+" title="Google+"> </a>
                    <a href="#" target="_blank"><img
                            src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/image/rss.png" alt="RSS"
                            title="RSS"> </a> </div>
                <!-- Follow Social Icons End-->
                <div class="clear"></div>
            </div>
            <!-- Back to Top Button Start-->
            <div class="back-to-top" id="back-top"><a title="Back to Top" href="javascript:void(0)" class="backtotop">Top</a></div>
            <!-- Back to Top Button End-->
        </div>
    </footer>
    <!--Footer Part End-->

</div>

<!-- JS Part Start-->
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.nivo.slider.pack.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/comm/comm.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.flexslider.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.easing-1.3.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/jquery.jcarousel.min.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/colorbox/jquery.colorbox-min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/tabs.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/pages/main.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/cloud_zoom.js"></script>
<script type="text/javascript"
        src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/modernizr.min.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/html5.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/custom.js"></script>
<script type="text/javascript" src="<?php echo Yii::app()->request->baseUrl; ?>/assets/theme_a/js/pages/main.js"></script>

</body>
</html>
